home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 2.iso
/
dist
/
fw_hylafax.idb
/
usr
/
freeware
/
catman
/
u_man
/
cat1
/
faxmodem.Z
/
faxmodem
Wrap
Text File
|
2002-07-08
|
6KB
|
130 lines
FAXMODEM(${MANNUM1_8}) FAXMODEM(${MANNUM1_8})
NNAAMMEE
faxmodem - dynamically add a modem to a _H_y_l_a_F_A_X server
system
SSYYNNOOPPSSIISS
$${{SSBBIINN}}//ffaaxxmmooddeemm [ --qq _q_u_e_u_e_-_d_i_r ] [ --cc _c_a_p_a_b_i_l_i_t_i_e_s ] [ --pp
] [ --PP ] [ --uu _p_r_i_o_r_i_t_y ] _m_o_d_e_m
DDEESSCCRRIIPPTTIIOONN
_f_a_x_m_o_d_e_m sends a message to the _H_y_l_a_F_A_X queuer process
_f_a_x_q(${MANNUM1_8}) telling it that the specified modem is
ready for use and informing it about its fax-related capa
bilities. This is the mechanism by which modems are added
in a send-only configuration. Once a modem has been con
figured its status can be reconfigured using the _f_a_x_s_
_t_a_t_e(${MANNUM1_8}) program. _f_a_x_m_o_d_e_m can also be used to
alter the capabilities and usage priority of a previously
configured modem.
The specified _m_o_d_e_m is either the terminal device name
where the modem is attached or a _H_y_l_a_F_A_X device identifier
(see _h_y_l_a_f_a_x_-_c_o_n_f_i_g(${MANNUM4_5}) for information on
device identifiers). Device names may be given without a
leading directory pathname; e.g. ttyf2 instead of
/dev/ttyf2.
To figure out the capabilities of a modem either use the
_p_r_o_b_e_m_o_d_e_m(${MANNUM1_8}) script or manually communicate
with the modem. For a Class 2 modem the capabilities are
given in the response to the ``AT+FDCC=?'' query command
and for a Class 2.0 modem the ``AT+FCC=?'' command. To
check if a modem is capable of polled retrieval of docu
ments use ``AT+FSP=?'' for a Class 2.0 modem or
``AT+FSPL=?'' for a Class 2 modem; if ``1'' is indicated
in the response then the modem supports polling. For
example,
hyla% ccuu --ll ttttyyff22
Connected
aatt++ffccllaassss==22..00
OK
aatt++ffcccc==??
(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)
OK
aatt++ffsspp==??
(0,1)
OK
In this case the modem would be added using the command:
${SBIN}/faxmodem -c '(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)' ttyf2
(by default polling is assumed to be supported).
Class 1 modems require a different technique. The host
implements most of the fax protocol so all that is needed
is to identify the possible signalling rates the modem
supports for transmitting; this is done with the
``AT+FTM=?'' command. For example,
hyla% ccuu --ll ttttyyff22
Connected
aatt++ffccllaassss==11
OK
aatt++ffttmm==??
24,48,72,73,74,96,97,98,121,122,145,146
OK
In this case the modem supports 2400, 4800, 7200, 9600,
12200, and 14400 bps signalling rates so the modem would
be added using:
${SBIN}/faxmodem -c '(0,1),(0-5),(0-2),(0-2),(0,1),0,0,(0-7)' ttyf2
OOPPTTIIOONNSS
The following options are available:
--cc Specify the fax capabilities using the syntax
defined by the ``Class 2'' specification:
``(_v_r),(_b_r),(_w_d),(_l_n),(_d_f),(_e_c),(_b_f),(_s_t)''.
where, _v_r specifies vertical resolution, _b_r
specifies bit rate, _w_d specifies page width, _l_n
specifies page length, _d_f specifies data com
pression, _e_c specifies error correction, _b_f
specifies binary file transfer, and _s_t specifies
scan time/line; and each of the above specifica
tions is a range or list of numbers that defines
the exact capabilities of the modem. For exam
ple, the default capabilities are
``(0,1),(0-3),(0-4),(0-2),(0),(0),(0),(0-7)''
which specifies the modem is capable of sending
and receiving both low and high resolution fac
simile with a variety of page sizes; supports
signalling rates 0-3 (2400 bps through 9600
bps); supports only 1D-encoded data compression;
and does not support error correction or binary
file transfer. A modem's ability to support
polled retrieval of facsimile is specified sepa
rately with the --pp and --PP options.
--pp Specify the modem is nnoott capable of polling for
remote documents.
--PP Specify the modem is capable of polling for
remote documents (default).
--qq _d_i_r Use a spooling area other than _$_{_S_P_O_O_L_}.
--uu _p_r_i_o_r_i_t_y
Assign the specified priority to the modem when
scheduling it for outbound use. Modem priori
ties are numbers in the range [0..255] with
lower numbers meaning higher priority. Modems
are initially assigned priority 255.
FFIILLEESS
${SPOOL} default spooling area
${SPOOL}/FIFO fifo for contacting _f_a_x_q
Consult _h_y_l_a_f_a_x_-_s_e_r_v_e_r(${MANNUM4_5}) for a complete dis
cussion of the structure and content of the spooling area.
SSEEEE AALLSSOO
_h_y_l_a_f_a_x_-_s_e_r_v_e_r(${MANNUM4_5}), _f_a_x_g_e_t_t_y(${MANNUM1_8}),
_f_a_x_q(${MANNUM1_8}).
Oct 27, 1995 FAXMODEM(${MANNUM1_8})